<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="vueInside">
        <msg>错误信息403</msg>
        <msg></msg>
    </div>
</body>
<script src="./js/vue.js"></script>
<script>
    Vue.component('msg', {
        template: `
        <div>提示信息：
        <slot>404</slot>
        </div>
        `,

    })

    var vueShili = new Vue({
        el: '#vueInside',

    })
</script>

</html>